package com.zhuss.enums;

import java.util.List;

public enum ConfigTypeEnum implements BaseEnum {
	
	餐品类型(10, "FoodCategory", "FoodCategory"),
	外卖开抢时间(20, "TakeoutStartTime", "TakeoutStartTime"),
	取消截止时间(30, "CancelOverTime", "CancelOverTime"),
	外卖截止时间(40, "TakeoutEndTime", "TakeoutEndTime"),
	点炒截止点餐时间(50, "StirfryServiceEndTime", "StirfryServiceEndTime"),
	点炒截止取消时间(60, "StirfryServiceCancelEndTime", "StirfryServiceCancelEndTime"),
	小程序关键字隐藏(70, "SmallProgramKeyWordHide", "SmallProgramKeyWordHide"),
	维修物料(80, "RepairGoods", "RepairGoods"),
	评价时间阀值(90, "RepairDateTime", "RepairDateTime"),
	会议室装配(100, "RoomDevice", "RoomDevice"),
	问卷类型(110, "InvestGroup", "InvestGroup"),
	外卖取餐时间(120, "TakeoutFetchTime", "TakeoutFetchTime"),
	设备类型(130, "DeviceType", "DeviceType"),
	设备种类(140, "DeviceKind", "DeviceKind"),
	;
	
	Integer key;
	
	String value;
	
	String tag;
	
	ConfigTypeEnum(Integer key, String value, String tag) {
		this.key = key;
		this.value = value;
		this.tag = tag;
	}

	public Boolean sameKey(Integer key) {
		return this.key.equals(key);
	}

	public Integer key() {
		return key;
	}

	public String value() {
		return value;
	}
	
	public String tag() {
		return tag;
	}
	
	public String data() {
		return value;
	}

	@Override
	public List<Integer> removeIdList() {
		// TODO Auto-generated method stub
		return null;
	}
	
	@Override
	public Boolean sameValue(String value) {
		return this.value.equals(value);
	}
	

}
